<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Camada de Persistencia: interface_persistencia.h File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Camada de Persistencia
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#define-members">Defines</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">interface_persistencia.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;stdbool.h&gt;</code><br/>
<code>#include &quot;../Camada_Apresentacao/interface_apresentacao.h&quot;</code><br/>
</div>
<p><a href="interface__persistencia_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a>&#160;&#160;&#160;extern</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#a355f6a6312e6afd1fc9ab3c96d31ca9d">EXT_MOD_PERSISTENCIA_USUARIOS</a>&#160;&#160;&#160;extern</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#a76eefd72b92b5b4221729b0733680af0">DATABASE_USUARIOS</a>&#160;&#160;&#160;&quot;database_usuarios.txt&quot;</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#a616ca1ae875a3c64fe8facbe3c94e0f1">DATABASE_USUARIOS_AUXILIAR</a>&#160;&#160;&#160;&quot;database_usuarios_aux.txt&quot;</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#a95e81096ebfc2694d294eccc5576ebfd">DATABASE_POSTAGENS</a>&#160;&#160;&#160;&quot;database_postagens.txt&quot;</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#a6de048a1c36eacd9ac8dac2b1e60d1cc">DATABASE_POSTAGENS_AUXILIAR</a>&#160;&#160;&#160;&quot;database_postagens_aux.txt&quot;</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#a2726f13663402b519b4dfe37eac15901">DATABASE_COMENTARIOS</a>&#160;&#160;&#160;&quot;database_comentarios.txt&quot;</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#ad41f4948004b76056adb67f11f853951">DATABASE_COMENTARIOS_AUXILIAR</a>&#160;&#160;&#160;&quot;database_comentarios_aux.txt&quot;</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#a5dbed5829d85de857e4b090b9a88a8e0">DATABASE_IDENTIFICADORES</a>&#160;&#160;&#160;&quot;database_identificadores.txt&quot;</td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#a8aab4210a69acf2efaa9f11621216b41">fatorial_postagens</a> (int valor)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface__persistencia_8h.html#a355f6a6312e6afd1fc9ab3c96d31ca9d">EXT_MOD_PERSISTENCIA_USUARIOS</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#a394345ea538b618b09301a537015cfdc">cadastrar_usuario_persistencia</a> (char nome_de_usuario[11], char senha[7], int identificador)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface__persistencia_8h.html#a355f6a6312e6afd1fc9ab3c96d31ca9d">EXT_MOD_PERSISTENCIA_USUARIOS</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#a516e571b3f3fe609e95d7d7428dce900">autenticar_usuario_persistencia</a> (char nome_de_usuario[11], char senha[7])</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface__persistencia_8h.html#a355f6a6312e6afd1fc9ab3c96d31ca9d">EXT_MOD_PERSISTENCIA_USUARIOS</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#aedb4fba30825b9ae3206371f81553a40">alterar_cadastro_persistencia</a> (char nome_de_usuario[11], char senha[7], char novo_nome_de_usuario[11], char nova_senha[7])</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface__persistencia_8h.html#a355f6a6312e6afd1fc9ab3c96d31ca9d">EXT_MOD_PERSISTENCIA_USUARIOS</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#ad9caaee93b5ebd734cdd08710496d726">encerrar_cadastro_persistencia</a> (char nome_de_usuario[11], char senha[7])</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface__persistencia_8h.html#a355f6a6312e6afd1fc9ab3c96d31ca9d">EXT_MOD_PERSISTENCIA_USUARIOS</a> <br class="typebreak"/>
Usuario *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#a817200ddc88fbec2f97e53a7d79f8cd4">listar_usuarios_persistencia</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#adeec061857b96fe3905d5a1b85aded2e">cadastrar_postagem_persistencia</a> (char texto_postagem[31], int identificador_postagem, bool comentavel, int identificador_autor, char data[11])</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Armazena a postagem no arquivo.  <a href="#adeec061857b96fe3905d5a1b85aded2e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#a0efbdf083f56298fa1618f07e22cdf1b">cadastrar_comentario_persistencia</a> (char texto_comentario[21], int identificador_comentario, int identificador_postagem, int identificador_autor, char data[11])</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Armazenar comentario na persistencia.  <a href="#a0efbdf083f56298fa1618f07e22cdf1b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> <br class="typebreak"/>
Postagem *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#a46cca7086a46e600352fcaf1efd0f7f4">busca_postagem_persistencia</a> (int identificador_autor)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> <br class="typebreak"/>
Comentario *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#a16a4b26748764ab85b3d585424b1bf4a">busca_comentario_persistencia</a> (int identificador_autor)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#a8d8a560f657075ef4a12f1c916fee956">autenticar_postagem_persistencia</a> (int identificador_postagem)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#a30278fdf8a6476293506fa5a5f88118b">autenticar_comentario_persistencia</a> (int identificador_comentario)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#a9997a758463d695cdadb068bccc2b1c3">avaliar_postagem_persistencia</a> (int identificador_postagem, float avaliacao)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Avaliar postagem.  <a href="#a9997a758463d695cdadb068bccc2b1c3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#abab35facf2e1907eebc14abc141514da">remover_postagem_persistencia</a> (int identificador_postagem, int verifica_autoria)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remover postagem do arquivo.  <a href="#abab35facf2e1907eebc14abc141514da"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#a92aaa7175d66765002355b663c845c8d">remover_comentario_persistencia</a> (int identificador_comentario, int verifica_autoria)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remover comentario do arquivo.  <a href="#a92aaa7175d66765002355b663c845c8d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#a91e031b021f8c1099f8ff781b3b405f9">remover_postagens_usuario_persistencia</a> (int identificador_autor)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remover postagens do usuario do arquivo.  <a href="#a91e031b021f8c1099f8ff781b3b405f9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#afb53db147e2a2156e2d54d5cdc1707d5">remover_comentarios_usuario_persistencia</a> (int identificador_autor)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remover comentarios do arquivo.  <a href="#afb53db147e2a2156e2d54d5cdc1707d5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> <br class="typebreak"/>
Postagem *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#a9950fffe90a534116bfde840dbb9dcfd">listar_postagens_persistencia</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Listar as postagens do arquivo.  <a href="#a9950fffe90a534116bfde840dbb9dcfd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> <br class="typebreak"/>
Comentario *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#a3bf2d547771b427725fcda2def53e7d1">listar_comentarios_persistencia</a> (int identificador_postagem)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface__persistencia_8h.html#abd2189858a1486f400f3017726df6f55">verificar_identificador_livre</a> (int identificador)</td></tr>
</table>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="a2726f13663402b519b4dfe37eac15901"></a><!-- doxytag: member="interface_persistencia.h::DATABASE_COMENTARIOS" ref="a2726f13663402b519b4dfe37eac15901" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="interface__persistencia_8h.html#a2726f13663402b519b4dfe37eac15901">DATABASE_COMENTARIOS</a>&#160;&#160;&#160;&quot;database_comentarios.txt&quot;</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad41f4948004b76056adb67f11f853951"></a><!-- doxytag: member="interface_persistencia.h::DATABASE_COMENTARIOS_AUXILIAR" ref="ad41f4948004b76056adb67f11f853951" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="interface__persistencia_8h.html#ad41f4948004b76056adb67f11f853951">DATABASE_COMENTARIOS_AUXILIAR</a>&#160;&#160;&#160;&quot;database_comentarios_aux.txt&quot;</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a5dbed5829d85de857e4b090b9a88a8e0"></a><!-- doxytag: member="interface_persistencia.h::DATABASE_IDENTIFICADORES" ref="a5dbed5829d85de857e4b090b9a88a8e0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="interface__persistencia_8h.html#a5dbed5829d85de857e4b090b9a88a8e0">DATABASE_IDENTIFICADORES</a>&#160;&#160;&#160;&quot;database_identificadores.txt&quot;</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a95e81096ebfc2694d294eccc5576ebfd"></a><!-- doxytag: member="interface_persistencia.h::DATABASE_POSTAGENS" ref="a95e81096ebfc2694d294eccc5576ebfd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="interface__persistencia_8h.html#a95e81096ebfc2694d294eccc5576ebfd">DATABASE_POSTAGENS</a>&#160;&#160;&#160;&quot;database_postagens.txt&quot;</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a6de048a1c36eacd9ac8dac2b1e60d1cc"></a><!-- doxytag: member="interface_persistencia.h::DATABASE_POSTAGENS_AUXILIAR" ref="a6de048a1c36eacd9ac8dac2b1e60d1cc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="interface__persistencia_8h.html#a6de048a1c36eacd9ac8dac2b1e60d1cc">DATABASE_POSTAGENS_AUXILIAR</a>&#160;&#160;&#160;&quot;database_postagens_aux.txt&quot;</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a76eefd72b92b5b4221729b0733680af0"></a><!-- doxytag: member="interface_persistencia.h::DATABASE_USUARIOS" ref="a76eefd72b92b5b4221729b0733680af0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="interface__persistencia_8h.html#a76eefd72b92b5b4221729b0733680af0">DATABASE_USUARIOS</a>&#160;&#160;&#160;&quot;database_usuarios.txt&quot;</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a616ca1ae875a3c64fe8facbe3c94e0f1"></a><!-- doxytag: member="interface_persistencia.h::DATABASE_USUARIOS_AUXILIAR" ref="a616ca1ae875a3c64fe8facbe3c94e0f1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="interface__persistencia_8h.html#a616ca1ae875a3c64fe8facbe3c94e0f1">DATABASE_USUARIOS_AUXILIAR</a>&#160;&#160;&#160;&quot;database_usuarios_aux.txt&quot;</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a10a3f6ca357cd3f5ac651f989707a9a8"></a><!-- doxytag: member="interface_persistencia.h::EXT_MOD_PERSISTENCIA_POSTAGENS" ref="a10a3f6ca357cd3f5ac651f989707a9a8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a>&#160;&#160;&#160;extern</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a355f6a6312e6afd1fc9ab3c96d31ca9d"></a><!-- doxytag: member="interface_persistencia.h::EXT_MOD_PERSISTENCIA_USUARIOS" ref="a355f6a6312e6afd1fc9ab3c96d31ca9d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="interface__persistencia_8h.html#a355f6a6312e6afd1fc9ab3c96d31ca9d">EXT_MOD_PERSISTENCIA_USUARIOS</a>&#160;&#160;&#160;extern</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="aedb4fba30825b9ae3206371f81553a40"></a><!-- doxytag: member="interface_persistencia.h::alterar_cadastro_persistencia" ref="aedb4fba30825b9ae3206371f81553a40" args="(char nome_de_usuario[11], char senha[7], char novo_nome_de_usuario[11], char nova_senha[7])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface__persistencia_8h.html#a355f6a6312e6afd1fc9ab3c96d31ca9d">EXT_MOD_PERSISTENCIA_USUARIOS</a> int <a class="el" href="mod__persistencia__usuarios_8c.html#a64fdd39c69b37f4133661e1c8f559aba">alterar_cadastro_persistencia</a> </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>nome_de_usuario</em>[11], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>senha</em>[7], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>novo_nome_de_usuario</em>[11], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>nova_senha</em>[7]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a30278fdf8a6476293506fa5a5f88118b"></a><!-- doxytag: member="interface_persistencia.h::autenticar_comentario_persistencia" ref="a30278fdf8a6476293506fa5a5f88118b" args="(int identificador_comentario)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> int <a class="el" href="interface__persistencia_8h.html#a30278fdf8a6476293506fa5a5f88118b">autenticar_comentario_persistencia</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>identificador_comentario</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8d8a560f657075ef4a12f1c916fee956"></a><!-- doxytag: member="interface_persistencia.h::autenticar_postagem_persistencia" ref="a8d8a560f657075ef4a12f1c916fee956" args="(int identificador_postagem)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> int <a class="el" href="interface__persistencia_8h.html#a8d8a560f657075ef4a12f1c916fee956">autenticar_postagem_persistencia</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>identificador_postagem</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a516e571b3f3fe609e95d7d7428dce900"></a><!-- doxytag: member="interface_persistencia.h::autenticar_usuario_persistencia" ref="a516e571b3f3fe609e95d7d7428dce900" args="(char nome_de_usuario[11], char senha[7])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface__persistencia_8h.html#a355f6a6312e6afd1fc9ab3c96d31ca9d">EXT_MOD_PERSISTENCIA_USUARIOS</a> int <a class="el" href="mod__persistencia__usuarios_8c.html#ada7d38ca809c71be760be8e224cfbcf1">autenticar_usuario_persistencia</a> </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>nome_de_usuario</em>[11], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>senha</em>[7]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9997a758463d695cdadb068bccc2b1c3"></a><!-- doxytag: member="interface_persistencia.h::avaliar_postagem_persistencia" ref="a9997a758463d695cdadb068bccc2b1c3" args="(int identificador_postagem, float avaliacao)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> int <a class="el" href="mod__persistencia__postagens_8c.html#a896813e97318081ccc71a1069d8114b9">avaliar_postagem_persistencia</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>identificador_postagem</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>avaliacao</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Avaliar postagem. </p>
<p>Muda a avaliacao da postagem de acordo com o pedido do usuario. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">identificador_postagem</td><td>inteiro  </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="mod__persistencia__postagens_8c.html#a9144decd4ee6da231302b38a97d900ce" title="Le postagem do arquivo.">Ler_Postagem_BD()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a16a4b26748764ab85b3d585424b1bf4a"></a><!-- doxytag: member="interface_persistencia.h::busca_comentario_persistencia" ref="a16a4b26748764ab85b3d585424b1bf4a" args="(int identificador_autor)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> Comentario* <a class="el" href="mod__persistencia__postagens_8c.html#ac4d936c6148f3407a3e50e682fa5d402">busca_comentario_persistencia</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>identificador_autor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a46cca7086a46e600352fcaf1efd0f7f4"></a><!-- doxytag: member="interface_persistencia.h::busca_postagem_persistencia" ref="a46cca7086a46e600352fcaf1efd0f7f4" args="(int identificador_autor)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> Postagem* <a class="el" href="mod__persistencia__postagens_8c.html#a63855a56e9f80684bf167a1fb2152784">busca_postagem_persistencia</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>identificador_autor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0efbdf083f56298fa1618f07e22cdf1b"></a><!-- doxytag: member="interface_persistencia.h::cadastrar_comentario_persistencia" ref="a0efbdf083f56298fa1618f07e22cdf1b" args="(char texto_comentario[21], int identificador_comentario, int identificador_postagem, int identificador_autor, char data[11])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> int <a class="el" href="mod__persistencia__postagens_8c.html#a12f31e02b6bdecd1352afa13eae08695">cadastrar_comentario_persistencia</a> </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>texto_comentario</em>[21], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>identificador_comentario</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>identificador_postagem</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>identificador_autor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>data</em>[11]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Armazenar comentario na persistencia. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">texto_comentario</td><td>char [31] </td></tr>
    <tr><td class="paramname">identificador_postagem</td><td>inteiro </td></tr>
    <tr><td class="paramname">comentavel</td><td>bool </td></tr>
    <tr><td class="paramname">identificador_autor</td><td>inteiro </td></tr>
    <tr><td class="paramname">data</td><td>char [11] </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>status </dd></dl>

</div>
</div>
<a class="anchor" id="adeec061857b96fe3905d5a1b85aded2e"></a><!-- doxytag: member="interface_persistencia.h::cadastrar_postagem_persistencia" ref="adeec061857b96fe3905d5a1b85aded2e" args="(char texto_postagem[31], int identificador_postagem, bool comentavel, int identificador_autor, char data[11])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> int <a class="el" href="mod__persistencia__postagens_8c.html#a5a601b9544f47bc0bb123c272b3b6fb5">cadastrar_postagem_persistencia</a> </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>texto_postagem</em>[31], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>identificador_postagem</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>comentavel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>identificador_autor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>data</em>[11]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Armazena a postagem no arquivo. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">texto_postagem</td><td>char [31] </td></tr>
    <tr><td class="paramname">identificador_postagem</td><td>inteiro </td></tr>
    <tr><td class="paramname">comentavel</td><td>bool </td></tr>
    <tr><td class="paramname">identificador_autor</td><td>inteiro </td></tr>
    <tr><td class="paramname">data</td><td>char [11] </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>status </dd></dl>

</div>
</div>
<a class="anchor" id="a394345ea538b618b09301a537015cfdc"></a><!-- doxytag: member="interface_persistencia.h::cadastrar_usuario_persistencia" ref="a394345ea538b618b09301a537015cfdc" args="(char nome_de_usuario[11], char senha[7], int identificador)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface__persistencia_8h.html#a355f6a6312e6afd1fc9ab3c96d31ca9d">EXT_MOD_PERSISTENCIA_USUARIOS</a> int <a class="el" href="mod__persistencia__usuarios_8c.html#a21d17c62de84328288d0d8edaa41e481">cadastrar_usuario_persistencia</a> </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>nome_de_usuario</em>[11], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>senha</em>[7], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>identificador</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad9caaee93b5ebd734cdd08710496d726"></a><!-- doxytag: member="interface_persistencia.h::encerrar_cadastro_persistencia" ref="ad9caaee93b5ebd734cdd08710496d726" args="(char nome_de_usuario[11], char senha[7])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface__persistencia_8h.html#a355f6a6312e6afd1fc9ab3c96d31ca9d">EXT_MOD_PERSISTENCIA_USUARIOS</a> int <a class="el" href="mod__persistencia__usuarios_8c.html#a702638da651f9cca1bdda4331cb05415">encerrar_cadastro_persistencia</a> </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>nome_de_usuario</em>[11], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>senha</em>[7]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8aab4210a69acf2efaa9f11621216b41"></a><!-- doxytag: member="interface_persistencia.h::fatorial_postagens" ref="a8aab4210a69acf2efaa9f11621216b41" args="(int valor)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> int <a class="el" href="interface__persistencia_8h.html#a8aab4210a69acf2efaa9f11621216b41">fatorial_postagens</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>valor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a3bf2d547771b427725fcda2def53e7d1"></a><!-- doxytag: member="interface_persistencia.h::listar_comentarios_persistencia" ref="a3bf2d547771b427725fcda2def53e7d1" args="(int identificador_postagem)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> Comentario* <a class="el" href="mod__persistencia__postagens_8c.html#ad9a8e7a0c75daf02b35aee6d7f2ab024">listar_comentarios_persistencia</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>identificador_postagem</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9950fffe90a534116bfde840dbb9dcfd"></a><!-- doxytag: member="interface_persistencia.h::listar_postagens_persistencia" ref="a9950fffe90a534116bfde840dbb9dcfd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> Postagem* <a class="el" href="mod__persistencia__postagens_8c.html#ae2a63cc76e335493ceb4503567445dec">listar_postagens_persistencia</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Listar as postagens do arquivo. </p>
<p>Cria uma lista encadeada contendo as todas as postagens do arquivo DATABASE_POSTAGENS. </p>
<dl class="see"><dt><b>See also:</b></dt><dd>Ler_Postagens_BD() </dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Postagem* ponteiro para a lista </dd></dl>

</div>
</div>
<a class="anchor" id="a817200ddc88fbec2f97e53a7d79f8cd4"></a><!-- doxytag: member="interface_persistencia.h::listar_usuarios_persistencia" ref="a817200ddc88fbec2f97e53a7d79f8cd4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface__persistencia_8h.html#a355f6a6312e6afd1fc9ab3c96d31ca9d">EXT_MOD_PERSISTENCIA_USUARIOS</a> Usuario* <a class="el" href="mod__persistencia__usuarios_8c.html#a9b3d67ca1af1537c2e3f8abe9de4a35d">listar_usuarios_persistencia</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a92aaa7175d66765002355b663c845c8d"></a><!-- doxytag: member="interface_persistencia.h::remover_comentario_persistencia" ref="a92aaa7175d66765002355b663c845c8d" args="(int identificador_comentario, int verifica_autoria)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> int <a class="el" href="mod__persistencia__postagens_8c.html#a7e1aa43e78e83937ad4852584aaccd73">remover_comentario_persistencia</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>identificador_comentario</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>verifica_autoria</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remover comentario do arquivo. </p>
<p>Copia o conteudo para arquivo auxiliar, exceto o conteudo especificado. Verifica se quem estah apagando o comentario eh o proprio autor. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">identificador_comentario</td><td>inteiro </td></tr>
    <tr><td class="paramname">verifica_autoria</td><td>inteiro </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="mod__persistencia__postagens_8c.html#ac86a3a9b7aec7e511472a00a763120ed" title="Le comentario do arquivo.">Ler_Comentario_BD()</a> </dd></dl>
<p>&lt;texto_comentario char [21]</p>
<p>&lt;data char [11]</p>
<p>identificador_comentario_leitura inteiro</p>
<p>identificador_postagem inteiro</p>
<p>identificador_autor </p>

</div>
</div>
<a class="anchor" id="afb53db147e2a2156e2d54d5cdc1707d5"></a><!-- doxytag: member="interface_persistencia.h::remover_comentarios_usuario_persistencia" ref="afb53db147e2a2156e2d54d5cdc1707d5" args="(int identificador_autor)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> int <a class="el" href="mod__persistencia__postagens_8c.html#aeed4217b475eb0aa6fcc119a7d3153ce">remover_comentarios_usuario_persistencia</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>identificador_autor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remover comentarios do arquivo. </p>
<p>Copiar o conteudo de um arquivo para o outro, exceto pelo conteudo especificado. Esta funcao serve apenas para o caso do usuario pedir o encerramento da conta. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">identificador_autor</td><td>inteiro </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="interface__persistencia_8h.html#a9950fffe90a534116bfde840dbb9dcfd" title="Listar as postagens do arquivo.">listar_postagens_persistencia()</a> </dd>
<dd>
<a class="el" href="interface__persistencia_8h.html#a92aaa7175d66765002355b663c845c8d" title="Remover comentario do arquivo.">remover_comentario_persistencia()</a> </dd></dl>
<p>&lt;postagem ponteiro para postagem</p>
<p>&lt;comentario ponteiro para comentario </p>

</div>
</div>
<a class="anchor" id="abab35facf2e1907eebc14abc141514da"></a><!-- doxytag: member="interface_persistencia.h::remover_postagem_persistencia" ref="abab35facf2e1907eebc14abc141514da" args="(int identificador_postagem, int verifica_autoria)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> int <a class="el" href="mod__persistencia__postagens_8c.html#acf9ed5c1f7435edda4fa7694b856d1df">remover_postagem_persistencia</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>identificador_postagem</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>verifica_autoria</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remover postagem do arquivo. </p>
<p>Transfere do arquivo existe a um temporario o conteudo, exceto o conteudo especificado. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">identificador_postagem</td><td>inteiro </td></tr>
    <tr><td class="paramname">verifica_autoria</td><td>inteiro para saber que foi o proprio autor que estah apagando a postagem </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="mod__persistencia__postagens_8c.html#a9144decd4ee6da231302b38a97d900ce" title="Le postagem do arquivo.">Ler_Postagem_BD()</a> </dd></dl>
<p>&lt;num_avaliavoes inteiro</p>
<p>&lt;identificador_postagem_leitura inteiro</p>
<p>&lt;identificador_autor inteiro</p>
<p>media_avaliacoes float</p>
<p>&lt;texto_postagem char [31]</p>
<p>&lt;data char[11] </p>

</div>
</div>
<a class="anchor" id="a91e031b021f8c1099f8ff781b3b405f9"></a><!-- doxytag: member="interface_persistencia.h::remover_postagens_usuario_persistencia" ref="a91e031b021f8c1099f8ff781b3b405f9" args="(int identificador_autor)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> int <a class="el" href="mod__persistencia__postagens_8c.html#ab8477fc9ef2483dbef587ac42a81e9b1">remover_postagens_usuario_persistencia</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>identificador_autor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remover postagens do usuario do arquivo. </p>
<p>Copia para arquivo auxiliar o centeudo que nao for o especificado. Essa funcao eh usada unicamente quando o se encerra o cadastro do usuario. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">identificador_autor</td><td>inteiro </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="interface__persistencia_8h.html#a9950fffe90a534116bfde840dbb9dcfd" title="Listar as postagens do arquivo.">listar_postagens_persistencia()</a> </dd>
<dd>
<a class="el" href="interface__persistencia_8h.html#abab35facf2e1907eebc14abc141514da" title="Remover postagem do arquivo.">remover_postagem_persistencia()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="abd2189858a1486f400f3017726df6f55"></a><!-- doxytag: member="interface_persistencia.h::verificar_identificador_livre" ref="abd2189858a1486f400f3017726df6f55" args="(int identificador)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface__persistencia_8h.html#a10a3f6ca357cd3f5ac651f989707a9a8">EXT_MOD_PERSISTENCIA_POSTAGENS</a> int <a class="el" href="mod__persistencia__postagens_8c.html#ae4a154f984b8df6eeb4cf94216df1bdf">verificar_identificador_livre</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>identificador</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Sun Mar 3 2013 19:14:32 for Camada de Persistencia by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
